_init(metaWindow, workspace) {
this.metaWindow = metaWindow;
this.metaWindow._delegate = this;
- this.realWindow = metaWindow.get_compositor_private();
+ this._windowActor = metaWindow.get_compositor_private();
this._workspace = workspace;
super._init({
this._windowContainer.layout_manager = new WindowPreviewLayout();
this.add_child(this._windowContainer);
- this._addWindow(realWindow.meta_window);
+ this._addWindow(metaWindow);
this._delegate = this;
});
this._windowDestroyId =
- this.realWindow.connect('destroy', () => this.destroy());
+ this._windowActor.connect('destroy', () => this.destroy());
this._updateAttachedDialogs();
this.x = this.boundingBox.x;
}
_onDestroy() {
- this.realWindow.disconnect(this._windowDestroyId);
+ this._windowActor.disconnect(this._windowDestroyId);
this.metaWindow._delegate = null;
this._delegate = null;